package com.benjaminwan.read.free.model.action

import com.benjaminwan.read.free.model.enums.ActionType
import com.squareup.moshi.JsonClass

@JsonClass(generateAdapter = true)
data class MouseScroll @JvmOverloads constructor(
    val delta: Int = 0,
    override val actionType: ActionType = ActionType.MouseScroll
) : Action() {

    override fun toString(): String {
        return "鼠标滚轮滑动距离$delta"
    }
}